﻿using System;
using System.Collections.Generic;
using System.Text;
using Directory.Model;
using System.Data;

namespace Directory.IDAL
{
	public interface IMessgeBoard
	{
		MessageInfo CreateMessage(string title, string author, string content, string authorIp, DateTime releaseDate, bool isChecked, int topState);
		void ReplyMessage(int MessageId,string checker,string reply,DateTime replyDate,bool isChecked,int topState);
		void DeleteMessage(int msgID);
		IList<MessageInfo> GetMessageList(bool isChecked, int pageIndex, int pageSize, out int totalRecords);
		MessageInfo GetMessage(int MessageId);
	}
}
